package com.chixing.day07_abstract;

public class FatherTest {
    public static void main(String[] args) {
        Son son1 = new Son();
        son1.f1();
        son1.f2();
        son1.s1();
        son1.s1();


        Father father = new Son();
        father.f1();
        father.f2();
        father.hashCode();  //父类继承

        father.f3();  //father编译时候 调用的是父类的 运行的是子类的


    }
}
